package com.hand.wyc24548.dao.daoImpl;

import com.hand.wyc24548.dao.SysUserMapper;
import com.hand.wyc24548.entity.SysUser;
import org.apache.ibatis.session.SqlSession;
import org.mybatis.spring.support.SqlSessionDaoSupport;

public class SysUserMapperImpl extends SqlSessionDaoSupport implements SysUserMapper {
    @Override
    public int deleteByPrimaryKey(Long userId) throws Exception{
        SqlSession sqlSession=this.getSqlSession();
        int id=sqlSession.selectOne("SysUserMapper.deleteByPrimaryKey",userId);
        return id;
    }

   @Override
    public int insert(SysUser record) {
        /*SysUser sysUser=new SysUser();
       SqlSession sqlSession=this.getSqlSession();
        int id=sqlSession.selectOne("SysUserMapper.insert",record);*/
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(SysUser record) {
        return 0;
    }


}
